close all
clear all

num_users = 3952%6040%943%1682;%6040%;%
num_items = 6040%3952%1682%943;%943;%3952%;

batchsize = 1;
datapath = '/home/baodier/movielens/code/cpp/ml-1m/';

converter

restart = 1;
numhid = 50;
maxepoch = 4000;

epsilonw      = 0.05;   % Learning rate for weights 
epsilonvb     = 0.05;   % Learning rate for biases of visible units 
epsilonhb     = 0.05;   % Learning rate for biases of hidden units 

CD=1;   
weightcost  = 0.005;   
initialmomentum  = 0.5;
finalmomentum    = 0.9;


test_mae = zeros(1,maxepoch/5);

rbm

plot(test_mae);
